package com.chen.recruit.domain.dto;

import com.chen.recruit.common.enums.UserType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel("OnlineUserDto 在线用户数据传输对象")
public class OnlineUserDto {

    @ApiModelProperty("用户id")
    private Integer id;

    @ApiModelProperty("用户类型")
    private UserType type;

    @ApiModelProperty("用户名称")
    private String username;

    @ApiModelProperty("昵称")
    private String name;

    @ApiModelProperty("院系id")
    private Integer collegeId;

    @ApiModelProperty("岗位id")
    private Integer postId;

    @ApiModelProperty("院系名称")
    private String collegeName;

    @ApiModelProperty("岗位名称")
    private String postName;

    @ApiModelProperty("在线时间")
    private String onlineTime;

}
